package cn.iocoder.yudao.module.ent.document.node;

import cn.iocoder.yudao.module.ent.document.BaseNode;
import lombok.Data;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

/**
 * 裁判文书 节点
 */

@Document(indexName = "node_judgment_doc")
@Data
public class NodeJudgmentDoc extends BaseNode {

    //公司数据加密id
    @Field(name = "cid", type = FieldType.Keyword)
    private String cid;

    @Field(name = "create_time", type = FieldType.Text)
    private String createTime;

    @Field(name = "code", type = FieldType.Long)
    private Long code;

    //相关案号
    @Field(name = "caseNo", type = FieldType.Text)
    private String caseNo;

    //公司名称
    @Field(name = "compName", type = FieldType.Text)
    private String compName;


    // 被执行人[终结本次执行]
    @Field(name = "resultLabel", type = FieldType.Text)
    private String resultLabel;

    // 案件身份
    @Field(name = "role", type = FieldType.Text)
    private String role;

    // 案由
    @Field(name = "type", type = FieldType.Text)
    private String type;

    // 日期
    @Field(name = "verdictDate", type = FieldType.Text)
    private String verdictDate;

    // 案件名称
    @Field(name = "wenshuName", type = FieldType.Text)
    private String wenShuName;
}
